<script>
var script = document.createElement('script');
script.src = '/common/js/uni.webview.1.5.6.js';
document.body.appendChild(script);

var h5_script = document.createElement('script');
h5_script.src = '/common/js/h5_socket_app.js';
document.body.appendChild(h5_script);

export default {
	globalData: {
		_this: null,
		app_init: null,
	},
	onLaunch: function () {
		this.globalData.app_init = this.app_init();
		// console.log('App Launch');
	},
	onShow: function () {
		console.log('App Show');
	},
	onHide: function () {
		// console.log('App Hide');
	},
};
</script>

<style lang="scss">
uni-page-head {
	display: none;
}
/*每个页面公共css */
@import '@/static/css/init.scss';
</style>
